//---------------------------------------------------------------------------
#ifndef TransitionClassH
#define TransitionClassH
#include <vcl.h>
#include <math.h>
#include "ObjectClass.h"
//#include "Constants.cpp"
//---------------------------------------------------------------------------
class CTransition : public CObject {
private:
	static int count;
	static int namecount;
	static int side;
	bool state; //true - active
	bool form; //true - horizontal
public:
	CTransition(TCanvas* canvas, int x, int y);
	void show();
	void hide();
	bool isSelect(int xm, int ym);
	void setSize(int size);
	void setState(bool state);
	void setForm(bool form);
	bool getState();
	bool getForm();
	UnicodeString save();
	~CTransition();
};
int CTransition::count = 0;
int CTransition::namecount = 0;
int CTransition::side = 35;
//---------------------------------------------------------------------------
#endif
